<template>
<div class="iconfontView" v-if="dataSources.icon">
		<div :style="{'color':dataSources.color,'fontSize':dataSources.fontSize+'px'}">
            <rx-icon-show :icon="dataSources.icon" ></rx-icon-show>
		</div>
</div>
</template>
<script>
/*
元素图标
 */
import ComponentView from "@/views/modules/preview/components/common/component-view.js";
export default {
	name: "iconfont-view",
	mixins:[ComponentView],
	data(){
		return{
			dataSources:{

			},
			customArr: ['customIcon', 'userCustomIcon']
		}
	},
	mounted() {
	},
	methods:{
		getData(){
			this.dataSources=this.config.dataSources;
		},
	}
}
</script>

<style scoped>
.iconfontView{
	padding: 10px;
}
</style>
